package com.aaa.Service;

import com.aaa.Entity.Product;
import com.aaa.util.DefaultMsg;
import com.aaa.util.TableData;

import java.util.List;

public interface ProductService {
    public TableData listAll(Integer page, Integer limit);

    public DefaultMsg Delete(Integer id);

    public DefaultMsg AddOrUpdate(Product product);
}
